package org.example.client;

import org.example.pojo.CommunityContent;
import org.example.pojo.Users;
import org.example.pojo.Works;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

import java.util.List;

@FeignClient(value = "commity-service")
public interface CommityClient {
    @GetMapping("/users/getAllUsers")
    public List<Users> getAllUsers();

    @GetMapping("/community-content/getAllContent")
    public List<CommunityContent> getAllContent(CommunityContent content);

}
